package entity

func (MessageInfo) TableName() string {
	return "message_info"
}

type MessageInfo struct {
	Id           int    `json:"id" gorm:"column:id"`
	Receiver_id  int    `json:"receiver_id" gorm:"column:receiver_id"`
	Sender_id    int    `json:"sender_id" gorm:"column:sender_id"`
	Sender_name  string `json:"sender_name" gorm:"column:sender_name"`
	Question_id  int    `json:"question_id" gorm:"column:question_id"`
	Comment_id   int    `json:"comment_id" gorm:"column:comment_id"`
	Tim          string `json:"tim" gorm:"column:tim"`
	Is_read      bool   `json:"is_read" gorm:"column:is_read"`
	Tex          string `json:"tex" gorm:"column:tex"`
	Message_type int    `json:"message_type" gorm:"column:message_type"`
}
